package com.test.springmvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HelloControllerAnno {
    @RequestMapping("/hello")
    public String sayHello(String name){
        System.out.println("Anno控制器执行了。。。name:"+name);
        return "sucess";
    }
}
